package com.yonyou.ncmm_pac_pda;

import com.yonyou.uap.um.application.ApplicationContext;
import com.yonyou.uap.um.base.*;
import com.yonyou.uap.um.common.*;
import com.yonyou.uap.um.third.*;
import com.yonyou.uap.um.control.*;
import com.yonyou.uap.um.core.*;
import com.yonyou.uap.um.binder.*;
import com.yonyou.uap.um.runtime.*;
import com.yonyou.uap.um.lexer.*;
import com.yonyou.uap.um.widget.*;
import com.yonyou.uap.um.widget.UmpSlidingLayout.SlidingViewType;
import com.yonyou.uap.um.log.ULog;
import java.util.*;
import android.os.*;
import android.view.*;
import android.widget.*;
import android.webkit.*;
import android.content.*;
import android.graphics.*;
import android.widget.ImageView.ScaleType;

public abstract class PurchaseInScanDetailPageActivity extends UMWindowActivity {

	protected UMWindow PurchaseInScanDetailPage = null;
protected XVerticalLayout viewPage0 = null;
protected XHorizontalLayout navigatorbar0 = null;
protected UMButton button0 = null;
protected UMLabel label0 = null;
protected UMScrollView Scrollview_panel0 = null;
protected XVerticalLayout panel0 = null;
protected XHorizontalLayout panel27 = null;
protected UMLabel label27 = null;
protected UMLabel label30 = null;
protected UMTextbox textbox0 = null;
protected XHorizontalLayout panel12 = null;
protected UMLabel label23 = null;
protected UMLabel label24 = null;
protected UMTextbox textbox1 = null;
protected XHorizontalLayout panel26 = null;
protected UMLabel label25 = null;
protected UMLabel label26 = null;
protected UMTextbox textbox2 = null;
protected XHorizontalLayout panel1 = null;
protected UMLabel label1 = null;
protected UMLabel label2 = null;
protected UMTextbox textbox3 = null;
protected XHorizontalLayout panel2 = null;
protected UMLabel label5 = null;
protected UMLabel label6 = null;
protected UMTextbox textbox4 = null;
protected XHorizontalLayout panel5 = null;
protected UMLabel label7 = null;
protected UMLabel label8 = null;
protected UMTextbox textbox5 = null;
protected XHorizontalLayout panel6 = null;
protected UMLabel label31 = null;
protected UMLabel label32 = null;
protected UMTextbox textbox6 = null;
protected XHorizontalLayout panel7 = null;
protected UMLabel label33 = null;
protected UMLabel label34 = null;
protected UMTextbox textbox7 = null;
protected XHorizontalLayout panel8 = null;
protected UMLabel label35 = null;
protected UMLabel label36 = null;
protected UMTextbox textbox8 = null;
protected XHorizontalLayout panel3 = null;
protected UMLabel label3 = null;
protected UMLabel label4 = null;
protected UMTextbox textbox9 = null;
protected XHorizontalLayout panel4 = null;
protected UMLabel label9 = null;
protected UMLabel label10 = null;
protected UMTextbox textbox10 = null;
protected XHorizontalLayout panel9 = null;
protected UMLabel label11 = null;
protected UMLabel label12 = null;
protected UMTextbox textbox11 = null;

	
	protected final static int ID_PURCHASEINSCANDETAILPAGE = 938918852;
protected final static int ID_VIEWPAGE0 = 1416316525;
protected final static int ID_NAVIGATORBAR0 = 35901051;
protected final static int ID_BUTTON0 = 1739785898;
protected final static int ID_LABEL0 = 2048907564;
protected final static int ID_SCROLLVIEW_PANEL0 = 634786128;
protected final static int ID_PANEL0 = 2101500021;
protected final static int ID_PANEL27 = 408725550;
protected final static int ID_LABEL27 = 626092130;
protected final static int ID_LABEL30 = 186316218;
protected final static int ID_TEXTBOX0 = 558701759;
protected final static int ID_PANEL12 = 1349855591;
protected final static int ID_LABEL23 = 265077378;
protected final static int ID_LABEL24 = 727547941;
protected final static int ID_TEXTBOX1 = 1759410698;
protected final static int ID_PANEL26 = 1011704393;
protected final static int ID_LABEL25 = 2038471601;
protected final static int ID_LABEL26 = 1020957842;
protected final static int ID_TEXTBOX2 = 916178533;
protected final static int ID_PANEL1 = 1528670421;
protected final static int ID_LABEL1 = 378569404;
protected final static int ID_LABEL2 = 785680500;
protected final static int ID_TEXTBOX3 = 478496474;
protected final static int ID_PANEL2 = 1093660248;
protected final static int ID_LABEL5 = 1867469635;
protected final static int ID_LABEL6 = 1769250159;
protected final static int ID_TEXTBOX4 = 1478808448;
protected final static int ID_PANEL5 = 675678160;
protected final static int ID_LABEL7 = 864598406;
protected final static int ID_LABEL8 = 1030602954;
protected final static int ID_TEXTBOX5 = 216814483;
protected final static int ID_PANEL6 = 1730777625;
protected final static int ID_LABEL31 = 1907258032;
protected final static int ID_LABEL32 = 656794913;
protected final static int ID_TEXTBOX6 = 496220258;
protected final static int ID_PANEL7 = 1627780096;
protected final static int ID_LABEL33 = 425894234;
protected final static int ID_LABEL34 = 121585663;
protected final static int ID_TEXTBOX7 = 807279594;
protected final static int ID_PANEL8 = 758262387;
protected final static int ID_LABEL35 = 437056958;
protected final static int ID_LABEL36 = 2013636560;
protected final static int ID_TEXTBOX8 = 1599888533;
protected final static int ID_PANEL3 = 1895844571;
protected final static int ID_LABEL3 = 216901194;
protected final static int ID_LABEL4 = 1197333179;
protected final static int ID_TEXTBOX9 = 2075985020;
protected final static int ID_PANEL4 = 614950140;
protected final static int ID_LABEL9 = 1939991494;
protected final static int ID_LABEL10 = 707613435;
protected final static int ID_TEXTBOX10 = 1253158064;
protected final static int ID_PANEL9 = 1360665017;
protected final static int ID_LABEL11 = 574271249;
protected final static int ID_LABEL12 = 2115145965;
protected final static int ID_TEXTBOX11 = 1213192632;

	
	
	@Override
	public String getControllerName() {
		return "PurchaseInScanDetailPageController";
	}
	
	@Override
	public String getContextName() {
		return "";
	}

	@Override
	public String getNameSpace() {
		return "com.yonyou.ncmm_pac_pda";
	}

	protected void onCreate(Bundle savedInstanceState) {
		ULog.logLC("onCreate", this);
		super.onCreate(savedInstanceState);
        onInit(savedInstanceState);
        
	}
	
	@Override
	protected void onStart() {
		ULog.logLC("onStart", this);
		
		super.onStart();
	}

	@Override
	protected void onRestart() {
		ULog.logLC("onRestart", this);
		
		super.onRestart();
	}

	@Override
	protected void onResume() {
		ULog.logLC("onResume", this);
		
		super.onResume();
	}

	@Override
	protected void onPause() {
		ULog.logLC("onPause", this);
		
		super.onPause();
	}

	@Override
	protected void onStop() {
		ULog.logLC("onStop", this);
		
		super.onStop();
	}

	@Override
	protected void onDestroy() {
		ULog.logLC("onDestroy", this);
		
		super.onDestroy();
	}
	
	public  void onInit(Bundle savedInstanceState) {
		ULog.logLC("onInit", this);
		UMActivity context = this;
		registerControl();
		this.getContainer();
		
		/*
		 new Thread() {
			 public void run() {
				 UMPDebugClient.startServer();
			 }
		 }.start();
		*/
		String sys_debug = ApplicationContext.getCurrent(this).getValue("sys_debug");
		if (sys_debug != null && sys_debug.equalsIgnoreCase("true")) {
			UMPDebugClient.waitForDebug();
		}

		IBinderGroup binderGroup = this;
		currentPage = getCurrentWindow(context, binderGroup);
super.setContentView(currentPage);

		
	}
	
	private void registerControl() {
		  idmap.put("PurchaseInScanDetailPage",ID_PURCHASEINSCANDETAILPAGE);
  idmap.put("viewPage0",ID_VIEWPAGE0);
  idmap.put("navigatorbar0",ID_NAVIGATORBAR0);
  idmap.put("button0",ID_BUTTON0);
  idmap.put("label0",ID_LABEL0);
  idmap.put("Scrollview_panel0",ID_SCROLLVIEW_PANEL0);
  idmap.put("panel0",ID_PANEL0);
  idmap.put("panel27",ID_PANEL27);
  idmap.put("label27",ID_LABEL27);
  idmap.put("label30",ID_LABEL30);
  idmap.put("textbox0",ID_TEXTBOX0);
  idmap.put("panel12",ID_PANEL12);
  idmap.put("label23",ID_LABEL23);
  idmap.put("label24",ID_LABEL24);
  idmap.put("textbox1",ID_TEXTBOX1);
  idmap.put("panel26",ID_PANEL26);
  idmap.put("label25",ID_LABEL25);
  idmap.put("label26",ID_LABEL26);
  idmap.put("textbox2",ID_TEXTBOX2);
  idmap.put("panel1",ID_PANEL1);
  idmap.put("label1",ID_LABEL1);
  idmap.put("label2",ID_LABEL2);
  idmap.put("textbox3",ID_TEXTBOX3);
  idmap.put("panel2",ID_PANEL2);
  idmap.put("label5",ID_LABEL5);
  idmap.put("label6",ID_LABEL6);
  idmap.put("textbox4",ID_TEXTBOX4);
  idmap.put("panel5",ID_PANEL5);
  idmap.put("label7",ID_LABEL7);
  idmap.put("label8",ID_LABEL8);
  idmap.put("textbox5",ID_TEXTBOX5);
  idmap.put("panel6",ID_PANEL6);
  idmap.put("label31",ID_LABEL31);
  idmap.put("label32",ID_LABEL32);
  idmap.put("textbox6",ID_TEXTBOX6);
  idmap.put("panel7",ID_PANEL7);
  idmap.put("label33",ID_LABEL33);
  idmap.put("label34",ID_LABEL34);
  idmap.put("textbox7",ID_TEXTBOX7);
  idmap.put("panel8",ID_PANEL8);
  idmap.put("label35",ID_LABEL35);
  idmap.put("label36",ID_LABEL36);
  idmap.put("textbox8",ID_TEXTBOX8);
  idmap.put("panel3",ID_PANEL3);
  idmap.put("label3",ID_LABEL3);
  idmap.put("label4",ID_LABEL4);
  idmap.put("textbox9",ID_TEXTBOX9);
  idmap.put("panel4",ID_PANEL4);
  idmap.put("label9",ID_LABEL9);
  idmap.put("label10",ID_LABEL10);
  idmap.put("textbox10",ID_TEXTBOX10);
  idmap.put("panel9",ID_PANEL9);
  idmap.put("label11",ID_LABEL11);
  idmap.put("label12",ID_LABEL12);
  idmap.put("textbox11",ID_TEXTBOX11);

	}
	
	public void onLoad() {
		ULog.logLC("onLoad", this);
		if(currentPage!=null) {
			currentPage.onLoad();
		}
	
		{ //viewPage0 - action:viewpage0_onload
    UMEventArgs args = new UMEventArgs(PurchaseInScanDetailPageActivity.this);
    actionViewpage0_onload(viewPage0,args);

}

	}
	
	public void onDatabinding() {
		ULog.logLC("onDatabinding", this);
		super.onDatabinding();
		
	}
	
	@Override
	public void onReturn(String methodName, Object returnValue) {
		
	}

	@Override
	public void onAfterInit() {
		ULog.logLC("onAfterInit", this);
		
		onLoad();
	}
	
		@Override
	public Map<String,String> getPlugout(String id) {
		XJSON from = this.getUMContext();
		Map<String,String> r = super.getPlugout(id);
		
		return r;	
	}
	
	
	
	public View getNavigatorbar0View(final UMActivity context,IBinderGroup binderGroup) {
navigatorbar0 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_NAVIGATORBAR0
,"color","#323232"
,"padding-left","8"
,"font-size","17"
,"valign","center"
,"title","扫描详情"
,"width","fill"
,"font-family","default"
,"background-image","navbar_login.png"
,"layout-type","vbox"
,"halign","LEFT"
,"padding-right","8"
,"height","44"
);
button0 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON0
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:button0_onclick"
,"padding-left","20"
,"font-size","20"
,"valign","center"
,"width","88"
,"font-family","default"
,"background-image","btn_back"
,"layout-type","hbox"
,"halign","left"
,"height","44"
,"pressed-image","btn_back_touch"
);
navigatorbar0.addView(button0);
label0 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL0
,"color","#000000"
,"width","0"
,"weight","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"height","fill"
);
navigatorbar0.addView(label0);

return navigatorbar0;
}
public View getPanel27View(final UMActivity context,IBinderGroup binderGroup) {
panel27 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL27
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label27 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL27
,"color","#000000"
,"width","80"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","单据号"
,"height","20"
);
panel27.addView(label27);
label30 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL30
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel27.addView(label30);
textbox0 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX0
,"color","#000000"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","15"
,"bindfield","vbillcode"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
panel27.addView(textbox0);

return panel27;
}
public View getPanel12View(final UMActivity context,IBinderGroup binderGroup) {
panel12 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL12
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label23 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL23
,"color","#000000"
,"width","80"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","行号"
,"height","20"
);
panel12.addView(label23);
label24 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL24
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel12.addView(label24);
textbox1 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX1
,"color","#000000"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","15"
,"bindfield","crowno"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
panel12.addView(textbox1);

return panel12;
}
public View getPanel26View(final UMActivity context,IBinderGroup binderGroup) {
panel26 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL26
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label25 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL25
,"color","#000000"
,"width","80"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","物料编码"
,"height","20"
);
panel26.addView(label25);
label26 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL26
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel26.addView(label26);
textbox2 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX2
,"color","#000000"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","15"
,"bindfield","pksrcmaterialcode"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
panel26.addView(textbox2);

return panel26;
}
public View getPanel1View(final UMActivity context,IBinderGroup binderGroup) {
panel1 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL1
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label1 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL1
,"color","#000000"
,"width","80"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","物料名称"
,"height","20"
);
panel1.addView(label1);
label2 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL2
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel1.addView(label2);
textbox3 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX3
,"color","#000000"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","15"
,"bindfield","materialname"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
panel1.addView(textbox3);

return panel1;
}
public View getPanel2View(final UMActivity context,IBinderGroup binderGroup) {
panel2 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL2
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label5 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL5
,"color","#000000"
,"width","80"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","供应商"
,"height","20"
);
panel2.addView(label5);
label6 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL6
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel2.addView(label6);
textbox4 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX4
,"color","#000000"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","15"
,"bindfield","pk_suppliername"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
panel2.addView(textbox4);

return panel2;
}
public View getPanel5View(final UMActivity context,IBinderGroup binderGroup) {
panel5 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL5
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label7 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL7
,"color","#000000"
,"width","80"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","供应商批次"
,"height","20"
);
panel5.addView(label7);
label8 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL8
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel5.addView(label8);
textbox5 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX5
,"color","#000000"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","15"
,"bindfield","vvendbatchcode"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
panel5.addView(textbox5);

return panel5;
}
public View getPanel6View(final UMActivity context,IBinderGroup binderGroup) {
panel6 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL6
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label31 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL31
,"color","#000000"
,"width","80"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","批次号"
,"height","20"
);
panel6.addView(label31);
label32 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL32
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel6.addView(label32);
textbox6 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX6
,"color","#000000"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","15"
,"bindfield","vbatchcode"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
panel6.addView(textbox6);

return panel6;
}
public View getPanel7View(final UMActivity context,IBinderGroup binderGroup) {
panel7 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL7
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label33 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL33
,"color","#000000"
,"width","80"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","序列号"
,"height","20"
);
panel7.addView(label33);
label34 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL34
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel7.addView(label34);
textbox7 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX7
,"color","#000000"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","15"
,"bindfield","vserialcode"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
panel7.addView(textbox7);

return panel7;
}
public View getPanel8View(final UMActivity context,IBinderGroup binderGroup) {
panel8 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL8
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label35 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL35
,"color","#000000"
,"width","80"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","扫描数量"
,"height","20"
);
panel8.addView(label35);
label36 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL36
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel8.addView(label36);
textbox8 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX8
,"color","#000000"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","15"
,"bindfield","scanastnum"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
panel8.addView(textbox8);

return panel8;
}
public View getPanel3View(final UMActivity context,IBinderGroup binderGroup) {
panel3 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL3
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label3 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL3
,"color","#000000"
,"width","80"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","扫描主数量"
,"height","20"
);
panel3.addView(label3);
label4 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL4
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel3.addView(label4);
textbox9 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX9
,"color","#000000"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","15"
,"bindfield","scannum"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
panel3.addView(textbox9);

return panel3;
}
public View getPanel4View(final UMActivity context,IBinderGroup binderGroup) {
panel4 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL4
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label9 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL9
,"color","#000000"
,"width","80"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","单位"
,"height","20"
);
panel4.addView(label9);
label10 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL10
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel4.addView(label10);
textbox10 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX10
,"color","#000000"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","15"
,"bindfield","castunitidname"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
panel4.addView(textbox10);

return panel4;
}
public View getPanel9View(final UMActivity context,IBinderGroup binderGroup) {
panel9 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL9
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label11 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL11
,"color","#000000"
,"width","80"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","主单位"
,"height","20"
);
panel9.addView(label11);
label12 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL12
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel9.addView(label12);
textbox11 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX11
,"color","#000000"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","15"
,"bindfield","cunitidname"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
panel9.addView(textbox11);

return panel9;
}
public View getPanel0View(final UMActivity context,IBinderGroup binderGroup) {
panel0 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL0
,"border-top-width","1"
,"width","fill"
,"border-top-color","#000000"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"height","wrap"
);
View panel27 = (View) getPanel27View((UMActivity)context,binderGroup);
panel0.addView(panel27);
View panel12 = (View) getPanel12View((UMActivity)context,binderGroup);
panel0.addView(panel12);
View panel26 = (View) getPanel26View((UMActivity)context,binderGroup);
panel0.addView(panel26);
View panel1 = (View) getPanel1View((UMActivity)context,binderGroup);
panel0.addView(panel1);
View panel2 = (View) getPanel2View((UMActivity)context,binderGroup);
panel0.addView(panel2);
View panel5 = (View) getPanel5View((UMActivity)context,binderGroup);
panel0.addView(panel5);
View panel6 = (View) getPanel6View((UMActivity)context,binderGroup);
panel0.addView(panel6);
View panel7 = (View) getPanel7View((UMActivity)context,binderGroup);
panel0.addView(panel7);
View panel8 = (View) getPanel8View((UMActivity)context,binderGroup);
panel0.addView(panel8);
View panel3 = (View) getPanel3View((UMActivity)context,binderGroup);
panel0.addView(panel3);
View panel4 = (View) getPanel4View((UMActivity)context,binderGroup);
panel0.addView(panel4);
View panel9 = (View) getPanel9View((UMActivity)context,binderGroup);
panel0.addView(panel9);

return panel0;
}
public View getScrollview_panel0View(final UMActivity context,IBinderGroup binderGroup) {
Scrollview_panel0 = (UMScrollView)ThirdControl.createControl(new UMScrollView(context),ID_SCROLLVIEW_PANEL0
,"layout","vbox"
,"width","fill"
,"weight","1"
,"hscrollenabled","disabled"
,"layout-type","vbox"
,"height","0"
);
View panel0 = (View) getPanel0View((UMActivity)context,binderGroup);
Scrollview_panel0.addView(panel0);

return Scrollview_panel0;
}
public View getViewPage0View(final UMActivity context,IBinderGroup binderGroup) {
viewPage0 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_VIEWPAGE0
,"background","#F7F8F8"
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"onload","action:viewpage0_onload"
,"height","fill"
);
View navigatorbar0 = (View) getNavigatorbar0View((UMActivity)context,binderGroup);
viewPage0.addView(navigatorbar0);
View Scrollview_panel0 = (View) getScrollview_panel0View((UMActivity)context,binderGroup);
viewPage0.addView(Scrollview_panel0);

return viewPage0;
}
public UMWindow getCurrentWindow(final UMActivity context,IBinderGroup binderGroup) {
PurchaseInScanDetailPage = (UMWindow)ThirdControl.createControl(new UMWindow(context),ID_PURCHASEINSCANDETAILPAGE
,"layout","vbox"
,"canvaswidth","320"
,"orientation","vertical"
,"controller","PurchaseInScanDetailPageController"
,"canvasheight","667"
,"namespace","com.yonyou.ncmm_pac_pda"
,"width","fill"
,"valign","TOP"
,"layout-type","linear"
,"halign","center"
,"height","fill"
);
View viewPage0 = (View) getViewPage0View((UMActivity)context,binderGroup);
PurchaseInScanDetailPage.addView(viewPage0);

return (UMWindow)PurchaseInScanDetailPage;
}

	
	public void actionViewpage0_onload(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "viewpage0_onload";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "loadDetail()",UMActivity.getViewId(control),args);
}
public void actionButton0_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button0_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "back()",UMActivity.getViewId(control),args);
}


}
